package com.zhangrui.dao;

import com.zhangrui.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * ClassName:TeacherMapper
 * Package:com.zhangrui.dao
 * Description:
 *
 * @Date:2021/8/200:20
 * @Author:zhangrui@qq.com
 */
public interface TeacherMapper {
    @Select("select * from teacher where id = #{tid}")
    Teacher getTeacher(@Param("tid") int id);
}
